﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Marin.Entities;

namespace Marin.Repository
{
    public class NewDetalleRepository:MasterRepository,IDetNew
    {
        

        public void AddDet(DetalleNewEgreso det)
        {
            Context.detNewEgreso.Add(det);
            Context.SaveChanges();
        }
    }

    public interface IDetNew
    {
        void AddDet(DetalleNewEgreso det);
    }
}
